package com.workplan.client.widgets.workdays;

import java.util.Set;

import net.customware.gwt.presenter.client.widget.WidgetDisplay;

import com.general.client.basewidget.BasePresnter;
import com.general.client.callback.Callback;
import com.workplan.shared.datamodel.workweek.Workweek.WorkDays;

public interface WorkdaysPresenter extends BasePresnter {

	void onSelectedDaysChanged(Callback<Set<WorkDays>> callback);

	void onWeekStartDayChanged(Callback<WorkDays> callback);

	public interface Display extends WidgetDisplay {
		Set<WorkDays> getSelectedWorkdays();

		void setSelectedWorkdays(Set<WorkDays> selected);

		void onSelectedDaysChanged(Callback<Set<WorkDays>> callback);

		WorkDays getWeekStartDay();

		void setWeekStartDay(WorkDays workDays);

		void onWeekStartDayChanged(Callback<WorkDays> callback);
	}

}
